const Login = () => import("@pages/Login")
const Home = () => import("@pages/Home")
const Search = () => import("@pages/Search")
const Register = () => import("@pages/Register")

const routes = [{
    path: "/home",
    component: Home,
    name: "Home"
}, {
    path: "/login",
    component: Login,
    name: "Login",
    meta:{
        isHidden:true
    }
}, {
    path: "/search",
    component: Search,
    name: "Search"
}, {
    path: "/register",
    component: Register,
    name: "Register",
    meta:{
        isHidden:true
    }
}, {
    path: "/",
    redirect: "/home"
},/* {
    path: "/*",
    component: NotFound,
}, */]

export default routes